import { Timestamp } from 'firebase/firestore';

export interface User {
  uid: string;
  displayName: string;
  email: string;
  photoURL?: string;
  createdAt: Timestamp;
  favorites: string[];
  contributions: string[];
}

export interface Copywriting {
  id: string;
  content: string;
  title?: string;
  authorId: string;
  category: string;
  tags: string[];
  likes: number;
  favorites: number;
  createdAt: Timestamp;
  updatedAt: Timestamp;
  source?: string;
  status: 'draft' | 'published' | 'archived';
}

export interface Category {
  id: string;
  name: string;
  description: string;
  icon?: string;
  order: number;
}

export interface Tag {
  id: string;
  name: string;
  count: number;
}
